package com.bank.repository;

import com.bank.entity.Deposit;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface DepositRepository extends JpaRepository<Deposit, Long> {
    List<Deposit> findBySavingNameContainingOrDescripContaining(String savingName, String descrip);
    List<Deposit> findBySavingID(Long savingID);
    List<Deposit> findBySavingNameContaining(String savingName);
} 